package paf.importerandtranslators;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;

import org.xml.sax.SAXException;

public class ImportFacade {

	FileImportController importController;
	FileFactory fileFactory;
	
	public ImportFacade() {
		importController = new FileImportController();
		fileFactory = new FileFactory();
	}
	
	// Controller methods
	public void importFile(FileStrategy type, File file) throws SAXException, IOException {
		importController.importFile(type, file);
	}
	
	public ArrayList<FileStrategy> getFileStrategies(){
		return fileFactory.getFileStrategies();
	}
}
